<?php

/**
 * Created by PhpStorm.
 * User: Yieong
 * Date: 2017/7/3
 * Time: 下午3:51
 */
class PatrolService extends Service
{

    public static function indexHeader(){
        return array(
            'RecDate'   => array('text' => '日期'),
            'SID'       => array('text' => '服'),
            'sUser'     => array('text' => '使用人数', 'rule' => 'numeric'),
            'sTime'     => array('text' => '使用时间（分钟）', 'rule' => 'numeric'),
        );
    }

    public static function indexData($params){
        $data = ModPatrol::indexData($params);
        return $data;
    }

}